-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
DataAnnotationValidateOptions`1.xml
159 lines (159 loc) · 11.2 KB
/
DataAnnotationValidateOptions`1.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<Type Name="DataAnnotationValidateOptions<TOptions>" FullName="Microsoft.Extensions.Options.DataAnnotationValidateOptions<TOptions>">
<TypeSignature Language="C#" Value="public class DataAnnotationValidateOptions<TOptions> : Microsoft.Extensions.Options.IValidateOptions<TOptions> where TOptions : class" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit DataAnnotationValidateOptions`1<class TOptions> extends System.Object implements class Microsoft.Extensions.Options.IValidateOptions`1<!TOptions>" />
<TypeSignature Language="DocId" Value="T:Microsoft.Extensions.Options.DataAnnotationValidateOptions`1" />
<TypeSignature Language="VB.NET" Value="Public Class DataAnnotationValidateOptions(Of TOptions)
Implements IValidateOptions(Of TOptions)" />
<TypeSignature Language="F#" Value="type DataAnnotationValidateOptions<'Options (requires 'Options : null)> = class
 interface IValidateOptions<'Options (requires 'Options : null)>" />
<TypeSignature Language="C++ CLI" Value="generic <typename TOptions>
 where TOptions : classpublic ref class DataAnnotationValidateOptions : Microsoft::Extensions::Options::IValidateOptions<TOptions>" />
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Options.DataAnnotations</AssemblyName>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<TypeParameters>
<TypeParameter Name="TOptions">
<Attributes>
<Attribute FrameworkAlternate="net-6.0;net-7.0;net-8.0;net-9.0">
<AttributeName Language="C#">[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicProperties | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicProperties | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(1)>]</AttributeName>
</Attribute>
</Attributes>
<Constraints>
<ParameterAttribute>ReferenceTypeConstraint</ParameterAttribute>
</Constraints>
</TypeParameter>
</TypeParameters>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>Microsoft.Extensions.Options.IValidateOptions<TOptions></InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(0)>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(2)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(2)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<typeparam name="TOptions">The instance being validated.</typeparam>
<summary>Implementation of <see cref="T:Microsoft.Extensions.Options.IValidateOptions`1" /> that uses DataAnnotation's <see cref="T:System.ComponentModel.DataAnnotations.Validator" /> for validation.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public DataAnnotationValidateOptions (string? name);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string name) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.Options.DataAnnotationValidateOptions`1.#ctor(System.String)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (name As String)" />
<MemberSignature Language="F#" Value="new Microsoft.Extensions.Options.DataAnnotationValidateOptions<'Options (requires 'Options : null)> : string -> Microsoft.Extensions.Options.DataAnnotationValidateOptions<'Options (requires 'Options : null)>" Usage="new Microsoft.Extensions.Options.DataAnnotationValidateOptions<'Options (requires 'Options : null)> name" />
<MemberSignature Language="C++ CLI" Value="public:
 DataAnnotationValidateOptions(System::String ^ name);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Options.DataAnnotations</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="net-6.0;net-7.0;net-8.0;net-9.0">
<AttributeName Language="C#">[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The implementation of Validate method on this type will walk through all properties of the passed in options object, and its type cannot be statically analyzed so its members may be trimmed.")]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The implementation of Validate method on this type will walk through all properties of the passed in options object, and its type cannot be statically analyzed so its members may be trimmed.")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<param name="name">The name of the option.</param>
<summary>Constructor.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Name">
<MemberSignature Language="C#" Value="public string? Name { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Name" />
<MemberSignature Language="DocId" Value="P:Microsoft.Extensions.Options.DataAnnotationValidateOptions`1.Name" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Name As String" />
<MemberSignature Language="F#" Value="member this.Name : string" Usage="Microsoft.Extensions.Options.DataAnnotationValidateOptions<'Options (requires 'Options : null)>.Name" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ Name { System::String ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Options.DataAnnotations</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>The options name.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Validate">
<MemberSignature Language="C#" Value="public Microsoft.Extensions.Options.ValidateOptionsResult Validate (string? name, TOptions options);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.Extensions.Options.ValidateOptionsResult Validate(string name, !TOptions options) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.Options.DataAnnotationValidateOptions`1.Validate(System.String,`0)" />
<MemberSignature Language="VB.NET" Value="Public Function Validate (name As String, options As TOptions) As ValidateOptionsResult" />
<MemberSignature Language="F#" Value="abstract member Validate : string * 'Options -> Microsoft.Extensions.Options.ValidateOptionsResult
override this.Validate : string * 'Options -> Microsoft.Extensions.Options.ValidateOptionsResult" Usage="dataAnnotationValidateOptions.Validate (name, options)" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual Microsoft::Extensions::Options::ValidateOptionsResult ^ Validate(System::String ^ name, TOptions options);" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Extensions.Options.IValidateOptions`1.Validate(System.String,`0)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Options.DataAnnotations</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="net-6.0;net-7.0;net-8.0;net-9.0">
<AttributeName Language="C#">[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ReflectionAnalysis", "IL2026:RequiresUnreferencedCode", Justification="Suppressing the warnings on this method since the constructor of the type is annotated as RequiresUnreferencedCode.")]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ReflectionAnalysis", "IL2026:RequiresUnreferencedCode", Justification="Suppressing the warnings on this method since the constructor of the type is annotated as RequiresUnreferencedCode.")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(1)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Microsoft.Extensions.Options.ValidateOptionsResult</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String">
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(2)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(2)>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="options" Type="TOptions" />
</Parameters>
<Docs>
<param name="name">The name of the options instance being validated.</param>
<param name="options">The options instance.</param>
<summary>Validates a specific named options instance (or all when <paramref name="name" /> is null).</summary>
<returns>The <see cref="T:Microsoft.Extensions.Options.ValidateOptionsResult" /> result.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>